3fdea9c2021b1491825f45547c62b52d75dc505c,lang/java/mapred/src/main/java/org/apache/avro/mapred/FsInput.java,FsInput,FsInput,#Path#Configuration#,36
Before Change
/** Construct given a path and a configuration. */
public FsInput(Path path, Configuration conf) throws IOException {
this.len = path.getFileSystem(conf).getFileStatus(path).getLen();
this.stream = path.getFileSystem(conf).open(path);
}
After Change
private final long len;
/** Construct given a path and a configuration. */
public FsInput(Path path, Configuration conf) throws IOException {
this(path, path.getFileSystem(conf));
}
/** Construct given a path and a {@code FileSystem}. */